package com.xy.spring.ioc.test2;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@Component
public class TestBean {

    public TestBean() {
        System.out.println("TestBean Constructor");
    }
    public void hello() {
        System.out.println("hello");
    }

}
